package com.ruoyi.common.core.domain.base.datam;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 监测设备信息记录对象 cm_device_b
 * 
 * @author hwd
 * @date 2023-02-16
 */
@Data
@TableName("cm_device_b")
public class CmDeviceB extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备编码 */
    private String devCd;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String devNm;

    /** 探测器名称 */
    @Excel(name = "探测器名称")
    private String tubeNm;

    /** 探测器规格 */
    @Excel(name = "探测器规格")
    private String tubeModel;

    /** 探测器厂家 */
    @Excel(name = "探测器厂家")
    private String tubeSupply;

    /** 探测器联系方式 */
    @Excel(name = "探测器联系方式")
    private String tubeTel;

    /** 控制单元名称 */
    @Excel(name = "控制单元名称")
    private String ctrlNm;

    /** 控制单元规格 */
    @Excel(name = "控制单元规格")
    private String ctrlModel;

    /** 控制单元厂家 */
    @Excel(name = "控制单元厂家")
    private String ctrlSupply;

    /** 控制单元联系方式 */
    @Excel(name = "控制单元联系方式")
    private String ctrlTel;

    /** 设备号 */
    @Excel(name = "设备号")
    private String devNo;

    /** 地址及端口 */
    @Excel(name = "地址及端口")
    private String ipPort;

    /** 进场日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进场日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date setDate;

    /** 备注 */
    @Excel(name = "备注")
    private String devMark;

    /** 设备类别 */
    @TableField(exist = false)
    private String devType;


    public void setDevCd(String devCd) 
    {
        this.devCd = devCd;
    }

    public String getDevCd() 
    {
        return devCd;
    }
    public void setDevNm(String devNm) 
    {
        this.devNm = devNm;
    }

    public String getDevNm() 
    {
        return devNm;
    }
    public void setTubeNm(String tubeNm) 
    {
        this.tubeNm = tubeNm;
    }

    public String getTubeNm() 
    {
        return tubeNm;
    }
    public void setTubeModel(String tubeModel) 
    {
        this.tubeModel = tubeModel;
    }

    public String getTubeModel() 
    {
        return tubeModel;
    }
    public void setTubeSupply(String tubeSupply) 
    {
        this.tubeSupply = tubeSupply;
    }

    public String getTubeSupply() 
    {
        return tubeSupply;
    }
    public void setTubeTel(String tubeTel) 
    {
        this.tubeTel = tubeTel;
    }

    public String getTubeTel() 
    {
        return tubeTel;
    }
    public void setCtrlNm(String ctrlNm) 
    {
        this.ctrlNm = ctrlNm;
    }

    public String getCtrlNm() 
    {
        return ctrlNm;
    }
    public void setCtrlModel(String ctrlModel) 
    {
        this.ctrlModel = ctrlModel;
    }

    public String getCtrlModel() 
    {
        return ctrlModel;
    }
    public void setCtrlSupply(String ctrlSupply) 
    {
        this.ctrlSupply = ctrlSupply;
    }

    public String getCtrlSupply() 
    {
        return ctrlSupply;
    }
    public void setCtrlTel(String ctrlTel) 
    {
        this.ctrlTel = ctrlTel;
    }

    public String getCtrlTel() 
    {
        return ctrlTel;
    }
    public void setDevNo(String devNo) 
    {
        this.devNo = devNo;
    }

    public String getDevNo() 
    {
        return devNo;
    }
    public void setIpPort(String ipPort) 
    {
        this.ipPort = ipPort;
    }

    public String getIpPort() 
    {
        return ipPort;
    }
    public void setSetDate(Date setDate) 
    {
        this.setDate = setDate;
    }

    public Date getSetDate() 
    {
        return setDate;
    }
    public void setDevMark(String devMark) 
    {
        this.devMark = devMark;
    }

    public String getDevMark() 
    {
        return devMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("devCd", getDevCd())
            .append("devNm", getDevNm())
            .append("tubeNm", getTubeNm())
            .append("tubeModel", getTubeModel())
            .append("tubeSupply", getTubeSupply())
            .append("tubeTel", getTubeTel())
            .append("ctrlNm", getCtrlNm())
            .append("ctrlModel", getCtrlModel())
            .append("ctrlSupply", getCtrlSupply())
            .append("ctrlTel", getCtrlTel())
            .append("devNo", getDevNo())
            .append("ipPort", getIpPort())
            .append("setDate", getSetDate())
            .append("devMark", getDevMark())
            .toString();
    }
}
